tools: disable linker --as-needed option.
authorIan Campbell <ian.campbell@citrix.com>
Tue, 1 Feb 2011 19:23:31 +0000 (19:23 +0000)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 1 Feb 2011 19:23:31 +0000 (19:23 +0000)
commit047b1675f840761f1756c215ab5dfe78ef8546a9
tree304229a5da785720c6468da564608483a051996c
parentd3e77ae6b6b24eb650868019040ef3e228eccbed
tools: disable linker --as-needed option.

The Xen build system is not currently compatible with the --as-needed
linker option. The proper fix for this is turning out to be rather
invasive to the build system so simply disable for now with the
intention of revisiting for the 4.2 release.

The --no-as-needed option is available at least since binutils 2.15
(released in May 2004) and hence I think can be unconditionally relied
on.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Reported-by: Nathan March <nathan@gt.net>
Tested-by: Nathan March <nathan@gt.net>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/Rules.mk